package java20241112;

class Student1 {
    public String name;
    public String gender;
    public int age;
    public Student1(){
        System.out.println("I am huwei!");
    }
    {
        this.name = "bit";
        this.gender = "女";
        this.age = 18;
        System.out.println("I am huwei!");
    }
    public void show()
    {
        System.out.println("name"+name+" "+"gender"+gender+" "+"age"+age);
    }
}
public class Main{
    public static void main(String[] args) {
        Student1 s =new Student1();
        s.show();
    }
}
